<!DOCTYPE html>
<html>
<head>
  <title>测试报告</title>
  <style>
    table {
      border-collapse: collapse;
      width: 100%;
    }

    th, td {
      border: 1px solid black;
      padding: 8px;
      text-align: left;
    }
  </style>
</head>
<body>
<h1>测试报告</h1>

<h2>基本信息</h2>
<p>日期时间: <span id="datetime"></span></p>
<p>总测试数: <span id="totalTests"></span></p>
<p>失败测试数: <span id="failedTests"></span></p>

<h2>失败用例</h2>
<table>
  <thead>
  <tr>
    <th>用例名称</th>
    <th>失败原因</th>
  </tr>
  </thead>
  <tbody id="failedCasesTable"></tbody>
</table>

<h2>基准测试</h2>
<h3>上次musl数据</h3>
<table id="previousMuslBenchmarkTable">
  <thead>
  <tr>
    <th>Benchmark</th>
    <th>Time</th>
    <th>Cpu</th>
    <th>Iterations</th>
    <th>UserCounters</th>
  </tr>
  </thead>
  <tbody></tbody>
</table>

<h3>本次musl数据</h3>
<table id="currentMuslBenchmarkTable">
  <thead>
  <tr>
    <th>Benchmark</th>
    <th>Time</th>
    <th>Cpu</th>
    <th>Iterations</th>
    <th>UserCounters</th>
  </tr>
  </thead>
  <tbody></tbody>
</table>

<h3>上次bionic数据</h3>
<table id="previousBionicBenchmarkTable">
  <thead>
  <tr>
    <th>Benchmark</th>
    <th>Time</th>
    <th>Cpu</th>
    <th>Iterations</th>
    <th>UserCounters</th>
  </tr>
  </thead>
  <tbody></tbody>
</table>

<h3>本次bionic数据</h3>
<table id="currentBionicBenchmarkTable">
  <thead>
  <tr>
    <th>Benchmark</th>
    <th>Time</th>
    <th>Cpu</th>
    <th>Iterations</th>
    <th>UserCounters</th>
  </tr>
  </thead>
  <tbody></tbody>
</table>

<script>
  var jsonData =